<?php 
$sciezka = $PRODUCTS_PATH;
$groupsPath = 'content/grupy.xml';
$beginingPath = 'content/wstepniak.xml';  

$groups = getGroups($groupsPath, $lang);
?>

<div class="left-menu">
    <div id="<?php echo "LEFT_MENU_"; ?>" onclick="" class="item itemHeader">
      <div class="left">
        <div class="top-left">&nbsp;</div>
        <div class="middle-left">&nbsp;</div>
        <div class="bottom-left">&nbsp;</div>
      </div>  
        <div class="middle">W ofercie:</div>
      <div class="right">
        <div class="top-right">&nbsp;</div>
        <div class="middle-right">&nbsp;</div>
        <div class="bottom-right">&nbsp;</div>
      </div> 
    </div>  

<?php 
    foreach ($groups as $groupId=>$group) {
?>
    <div id="<?php echo "LEFT_MENU_".$groupId; ?>" onclick="showProducts('<?php echo $groupId; ?>', '<?php echo $lang; ?>');" class="item itemNormal">
      <div class="left">
        <div class="top-left"></div>
        <div class="middle-left"></div>
        <div class="bottom-left"></div>
      </div>  
        <div class="middle"><?php echo $group; ?></div>
      <div class="right">
        <div class="top-right"></div>
        <div class="middle-right"></div>
        <div class="bottom-right"></div>
      </div> 
    </div>  
    
<?php         
    }
?>
</div>

<div class="products">
	<div class="top">
        <div class="top-left">&nbsp;</div>
        <div class="top-middle">&nbsp;</div>
        <div class="top-right">&nbsp;</div>
    </div>
	<div id="PRODUCTS_CONTENT" class="content">

	</div>        
	<div class="bottom">
        <div class="bottom-left"></div>
        <div class="bottom-middle"></div>
        <div class="bottom-right"></div>
    </div>
</div>




